package com.swotxu.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swotxu.mall.product.entity.CategoryBrandRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author swotxu
 * @email mr_xudada@163.com
 * @date 2020-12-11 23:04:14
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    /**
     * 更新关联表冗余的 菜单组名
     * @param catId
     * @param catName
     */
    void updateCategory(@Param("catId") Long catId, @Param("catName") String catName);
}
